package com.ihr360.payroll.controller.encrypttest;

import com.ihr360.payroll.model.dto.salary.encrypt.EncryptTest;
import com.ihr360.payroll.service.encrypttest.EncryptTestService;
import com.ihr360.rest.service.SimpleRestService;
import com.ihr360.rest.webmvc.AbstractRestSimpleWithLongIdController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/encryptTests")
public class EncryptTestController extends AbstractRestSimpleWithLongIdController<EncryptTest> {
    @Autowired
    private EncryptTestService encryptTestService;

    @Override
    public SimpleRestService<EncryptTest, Long> getSimpleRestService() {
        return encryptTestService;
    }
}